﻿using CsharpWpfManual.localhosteos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace CsharpWpfManual
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ActiveMQ activeMQ = new ActiveMQ();
            activeMQ.ShowDialog();
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Log4net log4Net = new Log4net();
            log4Net.ShowDialog();
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            //WebServiceTos webServiceTos = new WebServiceTos();
            //var aaa= webServiceTos.ZpcOpenService("222", "234");
        }

        //private void Button_Click_3(object sender, RoutedEventArgs e)
        //{
        //    mypp.ShowMessage("我成功了嘛");

        //}

        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            DrawingVisualWindow wind = new DrawingVisualWindow();
            wind.ShowDialog();
        }

        private void Button_Click_5(object sender, RoutedEventArgs e)
        {
            Windowbarchart windowbarchart = new Windowbarchart();
            windowbarchart.ShowDialog();
        }

        private void Button_Click_6(object sender, RoutedEventArgs e)
        {
            LineChartWindow windowbarchart = new LineChartWindow();
            windowbarchart.ShowDialog();
        }

        private void Button_Click_7(object sender, RoutedEventArgs e)
        {

            Window1 windowbarchart = new Window1();
            windowbarchart.ShowDialog();
        }

        private void Button_Click_8(object sender, RoutedEventArgs e)
        {
            Map windowbarchart = new Map();
            windowbarchart.ShowDialog();
        }

        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            CsharpWpfManual.EosServiceReference.ZPCOpenServiceSoapClient c = new CsharpWpfManual.EosServiceReference.ZPCOpenServiceSoapClient();

        string a=    c.ZpcOpenService("1", "2");
            Console.WriteLine(a);
            
        }

        private void Button_Click_9(object sender, RoutedEventArgs e)
        {
            Webapitest windowbarchart = new Webapitest();
            try
            {
                windowbarchart.ShowDialog();

            }
            catch (Exception)
            {

            }
            
        }
    }
}
